home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-25 | 4.8 KB | 240 lines | [TEXT/CWIE] |
- #ifdef justacomment
-
- 1/19/97 Version 2.0 release.
- -------
-
- Constructed safe fat resource version.
-
-
- 1/12/97 Code cleanup for a new release
- -------
-
- Stopped avoiding the use of static variables.
- Use MoreFiles in unmodified form to get desktop icons.
- Added comments to header files, in a style similar to MoreFiles.
- Added const keyword to some function parameters.
- New function ExpandMetaSelector replaces some code that had
- appeared in several functions.
-
-
- 8/10/96
- -------
-
- Renamed Get_resource_icons to Get1_resource_icons, and created a new
- Get_resource_icons that does not use Get1Resource. Purpose: to make
- Get_normal_folder_icon use GetResource, for Aaron compatibility.
-
-
- 7/1/95
- ------
-
- Get_normal_folder_icon: Called FindFolder for the system folder on the
- volume containing the given folder, not the boot disk. I figure that
- any system folder should get the special icons.
-
-
- 10/22/94
- --------
-
- In DTGetIconSuite, fail if there is no mask, not just if the suite is
- completely empty.
-
-
- 10/4/94
- -------
-
- In Get_normal_file_icon, if the attempt to get a generic icon from the System
- fails, try once more with genericDocumentIconResource. This is because
- files of type 'shlb' had a System icon in 7.1, but it's not there in 7.5.
-
-
- 10/2/94
- -------
-
- Get_normal_file_icon, Get_normal_folder_icon, Get_custom_file_icon:
- fallback options
-
- Get_volume_icon: eliminate the selector argument, since the driver
- icon only comes in one size.
-
- Removed the label as an argument of Find_icon, instead using SetSuiteLabel.
-
-
- 7/31/94
- -------
-
- Ported to MW C, changed to PROC resource with a main entry routine
- that finds the icon file name and returns the Find_icon address.
-
- Used MoreFiles code to get desktop icons, including those from an
- old-style Desktop file.
-
- Changed Get1IconSuite to return an error if no mask is found.
-
- Changed Find_icon so that if we failed to get a custom folder
- icon, we fall back to a normal icon.
-
-
- 6/6/94
- ------
-
- Fixed a bug introduced in the last change.
-
-
- 5/29/94
- -------
-
- Added a case for the trash folder to Get_normal_folder_icon.
-
-
- 5/28/94
- -------
-
- Fixed memory leak in Get_normal_file_icon, which occurred if the creator code
- was found in the DTDB but icons were not found. Reported by Peter Marx.
-
-
- 5/1/94
- ------
-
- In Get_custom_folder_icon, use FSMakeFSSpec. Suggested by Brent Taylor.
-
-
- 4/19/94
- -------
-
- Suggestions from Troy Gaul:
-
- In Get_normal_folder_icon, added default for a generic folder inside the System Folder.
-
- In Find_generic_icon_id, added 'thng' type with genericExtensionIconResource.
-
-
- 3/26/94
- -------
-
- Updated for newer Apple headers, so that I don't need my own extra
- Icons-JW header any more.
-
-
- 2/2/94
- ------
-
- Modified In_one_desktop to ignore the non-icon 'paul' data sometimes
- found in the desktop database.
-
-
- 1/26/94
- -------
-
- Test for ejected volumes. Looking for an icon is probably not so important
- that we need to ask for the disk to be inserted. In the case of the volume
- icon, we can still get the icon, and can return the ttOffline transform.
-
-
- 1/5/94
- ------
-
- Rewrote Get1IconSuite using ForEachIconDo instead of skanky method
- involving manipulation of the resource chain.
-
-
- 12/29/93
- --------
-
- In Get_icon, add a default case. Previously, bogus mini icons had been
- returned.
-
-
- 12/21/93
- --------
-
- In Get_normal_folder_icon and Get_volume_icon, call Copy_each_icon.
- Wrote Get_resource_icons as a wrapper for Get1IconSuite and
- Copy_each_icon.
-
- In Get_normal_file_icon, look for Finder icons before desktop icons,
- since the Finder apparently works that way.
-
-
- 11/2/93
- -------
-
- In Find_icon, added a desperate attempt to get a volume icon even if
- the PBGetCatInfo call failed. This makes a difference for a CD-ROM
- volume, if I have flipped open the cover of my CD drive.
-
-
- 10/4/93
- -------
-
- Switched order of Control calls in Get_volume_icon, to get right
- floppy icon.
-
-
- 10/1/93
- -------
-
- Initialized the csParam pointer to nil in Get_volume_icon, for paranoia.
-
-
- 9/29/93
- -------
-
- Added some AppleShare folder types to Find_generic_icon_id.
-
-
- 9/28/93
- -------
-
- In Get_volume_info, try csCode = 21 before csCode = 22.
- Under A/UX 3.0, the latter was failing without returning an error code.
-
-
- 1.0.4 9/12/93
- -----
-
- Added 'adrp' type to Find_generic_icon_id.
-
-
- 1.0.3 8/11/93
- -----
-
- Added more cases for folder aliases to Find_generic_icon_id. Removed
- the creator type from its API. Changed to assembly language to declare
- a static array in PC-relative storage.
-
-
- 1.0.2 7/20/93
- -----
-
- Surrounded OpenResFile calls with SetResLoad(false)...SetResLoad(true).
-
- Changed the parameter of Get_icon_file_name from Str31 to Str255 to
- simplify the code.
-
-
- 1.0.1
- -----
-
- In Get_normal_file_icon, change 'adrp' type to 'APPL' when looking
- for icons.
-
-
- 5/30/93 8:31 PM
-
- Icon resources in the System file can remain as resource handles.
-
-
- 5/30/93 5:47 PM
-
- Added Get1IconSuite.
-
-
- 5/30/93 1:33 AM
-
- Turned Detacher into Copy_each_icon. It was not proper to be calling
- DetachResource on resources in the System.
-
- #endif
-